# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-pydantic-scim
_pyname=pydantic-scim
pkgver=0.0.8
pkgrel=1
pkgdesc="Pydantic types for SCIM"
url="https://pypi.python.org/project/pydantic-scim"
arch="noarch"
license="Apache-2.0"
depends="
	py3-pydantic
	"
makedepends="
	py3-hatchling
	py3-gpep517
	py3-wheel
	py3-setuptools_scm
	"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/p/pydantic-scim/pydantic-scim-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer --destdir="$pkgdir" .dist/*.whl
}

sha512sums="
3ca10d6d97607e6f048b531fbf0f21ced6beb6f46a6452a4d6b49f87f6be2079a2b80d3d96b2f72d41d499c3871aea2cfad6d3b423506c906b6701e26476f666  py3-pydantic-scim-0.0.8.tar.gz
"
